﻿namespace jQube.Web
{
    using System;
    using System.Collections.Specialized;
    using System.Web.UI;

    internal interface IClientScriptManager
    {
        //TODO: Add registering check functions like IsStartUpScriptRegistered
        string GetPostBackEventReference(PostBackOptions options);
        string GetWebResourceUrl(Type type, string resourceName);
        void RegisterHiddenField(string hiddenFieldName, string hiddenFieldInitialValue);
        void RegisterClientScriptBlock(Type type, string key, string script);
        void RegisterClientScriptInclude(Type type, string key, string url);
        void RegisterClientScriptBlock(Type type, string key, string script, bool addScriptTags);
        void RegisterStartupScript(Type type, string key, string script, bool addScriptTags);
    }
}
